Click the document title with the command key down, then a pop-up
menu will appear as shown below. This example shows that the "Chap
4 Editing" file is located in the "Manual" folder of the "MY DATA" HD.
If you select the folder or drive menu item, it will be opened on the
Finder desktop.
Splitting Views
You can split the document window into more than 2 different views.
For example, while viewing the beginning of the document in the top
view, you can edit the end of the document in the bottom view.
To split a window, locate your mouse to the split line under the ruler
at the top of the window. When the ruler is not shown in the window,
the split line will be under the title bar. Your mouse pointer will turn
into either a shape or shape. Drag the line down to split the
window. You can also split the window by double clicking on this split
line.
To adjust the height of the split views, locate the mouse pointer over
the split line. The mouse pointer now will turn into a shape.
Then drag the split line to the desired position.
To remove the split line, double click on the split line you want
to remove.
Ruler
To show the ruler, select "Ruler" of "Format" menu or select the
pop-up menu at the top right corner of the window. You can choose
the ruler scales between columns, points, centimeters and inches,
You can also show the ruler by double clicking on the line under the title
bar where the mouse pointer turns into the shape
To hide the ruler, double click on the ruler or choose "Hide" of the
"Ruler" menu.
The column scales on the ruler are determined by the font and the
size which are set at "Ruler Font..." on the "Format" menu.
Display Line Numbers
To display line or paragraph numbers, select "Line numbers" from the
"Format" menu or select the line number pop-up menu at the bottom left
of the window. You can also show the numbers by double clicking on the
left edge of the window where the mouse pointer turns into the
shape.
To hide the line or paragraph numbers, double click on the numbers
area or choose "Hide" of the "Line numbers" menu.
If you drag the mouse pointer over the numbers area, the
corresponding lines in the document will be highlighted.
Line Position
The line position of the cursor appears at the bottom of the window.
You can show the line number or paragraph number by use of the line
number pop-up menu on the left side.
The total number will appear after the "/". If the document is already
modified but has not been saved yet, a "*" mark will appear after the
numbers.
If you click this line position area, the amount of the free memory will
also be shown.
Free Memory
The free memory indicates the remaining application memory (in
heap). When the free memory goes below 65KB, an alert box
will appear. If you see this alert box, quit Jedit3.0 immediately.
Then, increase the size of application memory of Jedit3.0.
As the temporary memory is used to edit the documents, the size of
the free memory is not related to the editable size of the document.
For example, you can edit an 1 MB text file while the free memory is
only 200KB.
4.2 Keyboard Shortcuts
Moving the Cursor
You can use the arrow keys to move the cursor as follows:
Left arrow moves the cursor one character to the left.
Right arrow moves the cursor one character to the right.
Up arrow moves the cursor one line up.
Down arrow moves the cursor one line down.
Option+left arrow moves the cursor one word to the left.
Option+right arrow moves the cursor one word to the right.
Command+left arrow moves the cursor to the beginning of
the paragraph.
Command+right arrow moves the cursor to the end of the paragraph.
Option+up arrow or page up moves the cursor to the top of
the current page or the previous page.
Option+down arrow or page down moves the cursor to the
bottom of the current page or the next page.
Command+up arrow or Home moves the cursor to the
beginning of the document.
Command+down arrow or End moves the cursor to the end
of the document.
Shift+return scrolls the view to the page where the cursor is located.
Shift+delete deletes the previous word.
Option+delete deletes the characters from the cursor to the end
of the paragraph.*1
*1: Option+delete also works as an "undo ATOK conversion" function. You can choose the "option+delete" function in "Key-in" of the "Preferences."
Control Keys
You can use the combinations of the control key and character key to move the cursor or scroll through the document window. You can choose the default key command set between "diamond cursor" and "emacs like" in the "Key Commands" preferences. You can also customize each key command. ( (For details, see "Chapter 3, 3.8 Key Commands".)
Diamond cursor emacs like
Input control code ctrl-P ctrl-Q
Cursor, one character left ctrl-S ctrl-B
Cursor, one character right ctrl-D ctrl-F
Cursor, one line up ctrl-E ctrl-P
Cursor, one line down ctrl-X ctrl-N
Cursor, one word left ctrl-A ESC B
Cursor, one word right ctrl-F ESC F
Cursor, to top line of page ctrl-Q ctrl-E ESC V
Cursor, to bottom line of page ctrl-Q ctrl-X ctrl-V
Cursor, to top of paragraph ctrl-Q ctrl-S ctrl-A
Cursor, to end of paragraph ctrl-Q ctrl-D ctrl-E
Cursor, to top of document ctrl-Q ctrl-R ESC ,
Cursor, to end of document ctrl-Q ctrl-C ESC .
Scroll up one line ctrl-W
Scroll down one line ctrl-Z
Scroll to previous page ctrl-R
Scroll to next page ctrl-C
Delete right character ctrl-H ctrl-H
Delete left character ctrl-G ctrl-D
Delete word ctrl-T ESC H
Delete paragraph ctrl-Y
Delete from top of para to cursor ctrl-Q ctrl-T
Delete from cursor to end of para ctrl-Q ctrl-Y ctrl-K ctrl-Y
Insert TAB ctrl-I ctrl-I
Insert line break ctrl-M ctrl-M
Undo ctrl-U ctrl-X ctrl-U
Cut ctrl-w
Copy ESC w
Paste ctrl-Y
Other Key Commands
+ To open the contextual menu on MacOS 8 or higher, click the highlighted area with the control key down.
+ To open a URL in the document, click the URL string with the command key down.
+ To open the dictionary, click the highlighted word you want to look up with the command and option keys down. (For details, see "Chapter 3, 3.7 Key-in")
+ To open the directory menu, click the title on the document window with the command key down.
+ Function Keys: F1=Undo, F2=Cut, F3=Copy, F4=Paste
+ If you hold the option key while scrolling, the document will scroll in the opposite direction.
+ If you hold the shift key while scrolling, scrolling speed will be slow.
+ If you press the shift and return key together, Jedit will jump to the page where the cursor is located.
+ Pressing the shift and delete key together will delete a character to the right side of the cursor.
+ If you select "Copy" from the "Edit" menu with the shift key down, only text data (no style data) will be copied to the clipboard.
+ If you paste or drop text with the shift key down, the lines are formatted and then inserted. If you select "Add Quote Prefixes" in the dialog of "Format Settings..." menu, quote prefixes will be also added.
+ If you paste text with the control key down, only style data, such as font, size, style and color will be pasted from your clipboard.
+ To paste the current date string, type "d" with the command key down. If you type "d" with both the command and shift keys down, the long date string will be pasted.
+ To paste the current time string, type "t" with the command key down. If you want to paste the current time string including seconds, type "t" with the command and shift keys down.
+ To search backwards, select "Find Next" menu with the shift key down, or type "g" with the command and shift keys down.
+ To search backward for the selected string, select "Find Selection" with the shift key down, or type "h" with the command and shift keys down.
+ If you select the "Hankaku to Zankaku..." or "Zenkaku to Hankaku..." menu with the shift key down, you can convert directly without the setting dialog.
+ To open a non-text file, select the "Open..." of the menu "File" with the option key down.
+ To remove a file name from the "Recent Files" of the menu "File", select that file item with the option key down.
+ To close all active document windows, close the current document window with the option key down.
+ To clear all Undo data, select the "Undo" of the menu "Edit" with the option key down.
+ If you change the font with the "Font" of the menu "Format" with the option key down, the font of the selected area is forced to change to the target font ignoring whether the script of the selected area matches the target font or not.
+ To insert a file whose file creator is not "TEXT", drag and drop the file icon with the option key down.
+ To insert an alias for a file or folder, drop the file or folder icon with the control key down. If the docoument is in the HTML coloring mode, the URL path name of the file will be inserted instead of the alias.
+ To repair a damaged alias in the document, double click on that alias icon with the option key down.
+ To change the linkage of the file on the bookmark list, double click on the file icon in the list with the option key down.
4.3 Objects
You can insert images, sounds, QuickTime files, QuickDraw3D files, and aliases on the Jedit3.0 document file. These non-text items are called "Objects"*.
* The term "objects" of different meaning is also used in AppleScript. Don't confuse the objects in AppleScript with the above objects. In AppleScript, the "objects" are some sort of targets for the AppleScript commands, such as characters, lines, paragraphs, documents and so on.
You can copy, paste, drag and drop these objects in the same manner as the text. In one document file, the total size of the objects can't exceed 16MB.
Image Objects
The image objects are drawn directly in the Jedit document window.
They are stored as the "PICT" resources internally.
You can copy the image object from another application and
paste it on the Jedit document window. You may also copy the
image object from the Jedit document window and paste it on
another application's document window. Dragging and dropping
the images is also available.
When you drop the image object onto the Finder desktop, a picture
clipping icon will appear. You can also drop the PICT files
onto the document window.
To insert an image object from the PICT file or the PICT resource in
another file, select the "Import..." of the menu "File". To export image
objects as new PICT files , select the "Export Objects..."
of the menu "File".
Sound Objects
The sound objects are stored as the "snd " resources internally.
They appear as the icon on the Jedit document window.
Double click this object icon to play the sound. When you drop the
sound object onto the Finder desktop, a sound clipping icon
will appear.
You can also drop the snd files onto the document window.
To insert the "snd " resource of another application file, select the
menu "Import..." of "File".
To export sound objects as the new snd files , select the
menu "Export Objects..." of "File" .
QuickTime Objects
To insert the QuickTime object, select the "Import..." of the menu "File".
You can also drop the QuickTime files onto the document
window directly.
QuickTime objects have a icon at the top left corner of the
object area. To play the QuickTime movie, double click somewhere in
the object area. To stop the movie, click somewhere outside of the
object.
* The following pictures are only QuickTime sample images and cannot be played.
QuickTime data itself will be never copied to the Jedit3.0 document
file. The document file only contains the information to play the
original QuickTime file. If you have deleted the original QuickTime
file, the object can no longer be played. Therefore, if you give
someone the document files containing QuickTime objects, you must
also give the original QuickTime files along with the document files.
Selecting the "Export Objects..." of the menu "File", you can export the
QuickTime objects in following formats.
BMP files , DV Stream Files, PICT files, Movie files
QuickDraw3D Objects
To insert the QuickDraw3D object, select the "Import..." of
the menu "File" . You can also drop the QuickDraw3D files directly
onto the document window.
QuickDraw3D objects have a icon at the top left of the object area.
To play the QuickDraw3D, double click somewhere in the object area.
To stop the QuickDraw3D, click somewhere outside of the object area.
*The following pictures are only sample images of QuickDraw3D and can not be opened.
The QuickDraw3D objects differ from the QuickTime objects, in that
they do not require the existence of an original QuickDraw3D files.
All the data of the QuickDraw3D will be contained in the Jedit
document.
To export the QuickDraw3D objects as new QuickDraw3D files,
select the "Export Objects..." of the menu "File".
QuickDraw3D is not available on the 68K Macintoshes.
Alias Objects
You can insert the aliases of the files or folders into the Jedit
document. An alias icon that looks like the original file icon*
will appear in your document window. When you double click on the
alias icon, the original file or folder will be opened.
*The background color of the alias icon is blue. As custom icons are not supported in
the Jedit document window, the alias icons of folders or volumes will appear as
the standard icons.
The following is the sample of the alias of the "Manual" folder.
<--- Double click to open the "Manual" folder.
To insert an alias of an file or folder, simply drop the file icon onto
the document window while holding down the control key. The alias
icon of the file will appear in the the document.
Please hold down the control key after you start to drag the file.
If you hold down the control key at the same time you start to drag,
the contextual menu will be opened instead.
You can also insert the aliases by selecting the "Import..."of the
menu "File".
If Jedit3.0 can not find the original file when you double click on the alias
object, the following dialog will appear and ask you to specify the
original file.
To repair the damaged alias, double click on the alias object with the
option key down. This will cause the above dialog to appear.
When you give someone the document files containing the aliases,
you should also give the original files of the aliases.
4.4 Undo and Redo
Select "Undo" from the "Edit" menu to undo the previous action.
Select "Redo" from the "Edit" menu to cancel the previous undo.
In the "General" preferences, you can choose the mode between the multiple undo and the single undo.
In the multiple undo mode, you can undo the multiple actions and go back to the state when the document was initially opened. You can also redo multiple times and return to the state when you began to undo.
In the single undo mode, you can only undo the previous action.
The multiple undo is the default setting. However, in such cases that you repeat an action thousands of times using AppleScript, the thousands of data of undo may comsume a lot of memory and cause the memory shortage.
You can use the following script to switch from the multiple undo to the single undo before you start the memory comsuming scripts.
set infinite undo of document 1 to false
(For details, see "Script Manual".)
When the free memory is getting shorter, select the "Undo" of the menu "Edit" with the option key down. It will clear all the undo data stored in the memory.
4.5 Copy, Cut and Paste
You can copy, cut and paste text data just as you can in any other Macintosh applications.
When you copy or cut text, style data (such as font, style and size) will be also copied on the clipboard.
To copy text data only, select "Copy" menu with the shift key down. If you have checked "Unstyled Copy & Paste" in the "General" preferences, you do not have to hold the shift key.
If you want to paste only style data, select "Paste" menu with the control key down.
Shortcuts for the Highlighted Areas
To copy or cut a certain text area, first drag your mouse to highlight
it. Otherwise:
+ To highlight one word, double click on the word. To highlight one line,
do triple clicks on the line. To select an entire paragraph, click four
times. To highlight the whole document, click five times.
+ To highlight between two separate text areas, highlight one area
first, and then highlight the another area with the shift key down.
+ With shift key and cursor control keys such as shift and arrow
keys, you can also highlight areas without the mouse.
+ To highlight lines, drag over the line numbers area shown on the
left side of the document window.
Format Lines and Add Quotation Marks
If you paste text with the shift key down, the lines will be formatted to
the specified width and then be pasted. If you have checked the "Add
Quote Prefixes" in the menu "Format Settings", the quote prefix will be
also added to each formatted line.
4.6 Drag & Drop
In order to use the drag and drop function, you need a MacOS 7.5 or later or MacOS 7.1.x with Drag and Drop 1.1. Using drag and drop, you can transfer data between the document windows or the applications much more easily than using copy and paste.
You can drag the text data and drop it onto the another document as in the following.
Highlight a text area in the document window. When the mouse pointer goes over the highlighted area, it will turn into a shape. Click and hold the mouse button. The mouse pointer will then turn into a shape. While continuing to hold the mouse button, move the pointer onto another document window. Release the mouse button and the highlighted text area will then be copied on to the new document window.
When you drag and drop the text onto the same document window, the text will be "moved," but not "copied." If you want to copy the highlighted text in the same document, drag and drop with the option key down.
When you drop the objects onto the Finder destop, the following clipping files will be created. When you drop the following clippings into the document file, the contents will be pasted as the objects.
Text clipping:
PICT clipping:
Sound clipping:
QuickTime clipping :
QuickDraw3D clipping:
Alias Clipping:
Text including objects:
The QuickTime clippings, QuickDraw3D clippings, alias clippings can only be pasted onto the Jedit3.0 document. As these clippings are specific to Jedit3.0, you can not drop these clippings onto applications other than Jedit3.0.
You can also drop the following files onto Jedit3.0 document windows:
Text Files (The file type must be "TEXT".)
Read Only Text Files of SimpleText(The file type must be "ttro".)
PICT Files(The file type must be "PICT".)
Sound Files(The file type must be "sfil".)
QuickTime Files(The file type must be "MooV" or "qtif".)
QuickDraw3D Files(The file type must be "3DMF".)
If you drop the text with the shift key down, the lines will be formatted to the specified width and then be inserted. If you have checked the "Add Quote Prefixes" in the menu "Format Settings", the quote prefix will be also added to each formatted line.
To drop binary files, hold down the option key while dropping the item.
Keep in mind that the none-text data may not be displayed correctly in
the document window or in some cases it may cause abnormal program
operations.
To insert the alias, drop the file, folder or drive icon onto the document with the control key down. Please hold down the control key after you start to drag the file. If you hold down the control key at the same time you start to drag, the contextual menu will be opened instead.
In the HTML coloring mode, to insert a path name or URL, drop the destination file or folder icon onto the document with the control key down. If the document file is already saved, the relative path to the document file will be inserted, otherwise absolute path will be inserted.
( For details, see "Chapter 6, 6.5 HTML Assistant Tools")
4.7 Other Functions
Balance Parentheses
If the document contains many parentheses or brackets, the
inclusion of the parentheses will become quite confusing. It is
often difficult to determine where a set of the parentheses
begins or ends.
To find another half of the parentheses pair, highlight one
half of the parentheses and selecting the "Balance" of the menu
"Edit". Then the entire contents within the parentheses will be
highlighted.
To highlight the area between the parentheses, locate your
mouse pointer somewhere between the parentheses pair and
select the menu "Balance"
Jedit3.0 recognizes the following 13 parentheses, brackets,
etc.:
Shift Right and Shift Left
You can use the menu "Shift Right" to add a tab indentation. You
can use the menu "Shift Left" to delete a tab indentation.
Note that you can not delete space indentations with the menu
"Shift Left".
Paste Date and Time
To paste the current date or time string, select the menu "Paste
Date" or "Paste Time" of "Edit" .
To paste a long string that includes the day of the week, or a time
that includes seconds, select "Date" or "Time" with the shift key
down.
See the following examples:
short Date: 99.3.17
short Time: 9:11 PM
long Date with shift key : Wednesday, June 9, 1999
long Time with shift key : 9:11:41 PM
Inserting Page Breaks
To insert a page break (0x0c), select the menu "Insert Page Break".
The mark will be displayed to indicate the page break.
Save and Paste Signature
To register your signature, type your signature in the document
and highlight it. Then, select the menu "Save As Signature...".
Your signature will be stored in the Jedit3.0 Preference file.
If you have set "Internet Config Aware" in the "General"
preferences, the signature will be also registered in the "Internet
Config".
To paste your signature, select the menu "Paste Signature". In
"Internet Config Aware" mode, the signature of "Internet Config"